package vn.edu.saigontech.ncms.service;

import java.sql.Time;
import java.util.Collection;
import java.util.Date;

import vn.edu.saigontech.ncms.model.info.Offering;
import vn.edu.saigontech.ncms.model.info.Teacher;
import vn.edu.saigontech.ncms.model.teaching.OfferingChecking;
import vn.edu.saigontech.ncms.service.impl.OfferingCheckingServiceImpl;

public interface OfferingCheckingService extends GenericService<OfferingChecking, Long> {
	
	static final OfferingCheckingService INSTANCE = new OfferingCheckingServiceImpl();

	OfferingChecking add(Long offeringId, Date date, Time startTime, Time endTime, Long teacherId, String supervisor, String comment);
	
	OfferingChecking edit(Long id, Date date, Time startTime, Time endTime, Long teacherId, String supervisor, String comment);
	
	Collection<OfferingChecking> find(Offering offering, Teacher teacher, int month, int year);
}